//自定义指令
import copy from '@/directive/clipboard/clipboard' // 复制
import auth from '@/directive/auth'

const directives = {
  copy,
  auth
}

export default {
  install(Vue) {
    Object.keys(directives).forEach((key) => {
      Vue.directive(key, directives[key])
    })
  }
}
